﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FormalizedList.ascx.cs" Inherits="GUI.Controls.News.FormalizedList" %>
<ul class="list formalized-list clearfix">
    <asp:Literal runat="server" ID="ltrData"></asp:Literal>
</ul>
<script type="text/javascript">
    (function () {
        $('.formalized-list li:first').addClass('topItem');
        $('.formalized-list li:even').addClass("odd");
        $('.formalized-list li:odd').addClass("even");
        $('.formalized-list li:lt(7):gt(4)').wrapAll("<li class='last'></li>").wrapAll("<ol></ol>");
        $('.formalized-list li:lt(5):gt(2)').wrapAll("<li></li>").wrapAll("<ol></ol>");
        $('.formalized-list li:lt(3):gt(0)').wrapAll("<li style='border-top:none; padding-top:0;'></li>").wrapAll("<ol></ol>");
        $('.formalized-list li.last').css({ 'margin': '0px' });
        $(".formalized-list ol .prop_title").each(function () {
            removeContent($(this), 32);
        });
    })();
</script>
